---
layout: page
permalink: /categories/
title: Categories
---

<div id="archives">
  {% assign categories = site.categories | sort %}
  {% for category in categories %}
 <!-- <div class="archive-group">
    {% capture category_name %}{{ category | first }}{% endcapture %}
    <div id="#{{ category_name | slugize }}"></div>
    <p></p>

    <h3 class="category-head">{{ category_name }}</h3>
    <a name="{{ category_name | slugize }}"></a>
    {% for post in site.categories[category_name] %}
    <article class="archive-item">
      <h4><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></h4>
    </article>
    {% endfor %}
  </div>-->
  <span>
       <a href="/categories/{{ category | first | slugify }}">
               {{ category[0] | replace:'-', ' ' }} ({{ category | last | size }})
       </a>
  </span>
  <br>
  {% endfor %}

<!--  <div id="index">
    {% for category in categories %}
    <a >{{ category[0] }}</a>
    <h5>{{ category[0] | replace:'-', ' ' }} ({{ category | last | size }})</h5>
    {% assign sorted_posts = site.posts | sort: 'title' %}
      {% for post in sorted_posts %}
      {%if post.categories contains category[0]%}
      <h3>
        <a href="{{ site.url }}{{ site.baseurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}
        </a>
      </h3>
      {%endif%}
      {% endfor %}
    {% endfor %}
  </div>-->
</div>